package com.pk.springbootsy1.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pk.springbootsy1.dto.TUserDto;
import com.pk.springbootsy1.entity.TUser;
import org.springframework.stereotype.Service;

import java.util.List;


public interface TUserService extends IService<TUser> {
    boolean login(String username,String password);
    boolean register(TUser tUser);
    TUser selectByUsername(String username);
    List<TUserDto> listTUserDto();

    boolean reset(TUser tUser);
}
